package com.tianji.learning.util;

/**
 * ClassName: TableInfoContext
 * Package: com.tianji.learning.util
 * Description:
 *
 * @author zr
 * Create 2024/7/30 10:32
 * Version 1.0
 */
public class TableInfoContext {
    private static final ThreadLocal<String> TL = new ThreadLocal<>();

    public static void setInfo(String info) {
        TL.set(info);
    }

    public static String getInfo() {
        return TL.get();
    }

    public static void remove() {
        TL.remove();
    }
}